Dump machine check context for fatal machine check
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 8 Feb 2010 10:18:51 +0000 (10:18 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 8 Feb 2010 10:18:51 +0000 (10:18 +0000)
commitcfc536c55a7daec2bd095135755ce0b65146ce99
treec6772e1a8a044d951aa446a46c060c41e0c07c3c
parent407b049aebf00b916e2b196c444a6a79ea064fd5
Dump machine check context for fatal machine check

This small patches enable Xen hypervisor to always dump machine check
ontext, previously it will not print anything if fatal MCE happens. It
also add checking for NULL pointer.

It also change the address passing to guest to always use guest
mfn. It should benifit non-translated guest.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/cpu/mcheck/mce_intel.c